home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Graphics / Gnuplot / Source / Gnuplot_main.m < prev    next >
Encoding:
Text File  |  1993-03-18  |  574 b   |  27 lines

  1. /* Generated by the NeXT Project Builder 
  2.    NOTE: Do NOT change this file -- Project Builder maintains it.
  3. */
  4.  
  5. // $Id: Gnuplot_main.m,v 1.1.1.1 1993/03/18 03:33:40 davis Exp $
  6.  
  7. #import <appkit/Application.h>
  8. #import <stdlib.h>
  9. #import <strings.h>
  10.  
  11. extern pmain (int argc, char *argv[]);
  12.  
  13. void main(int argc, char *argv[]) {
  14.  
  15.     if ((argc > 1) && !strcmp (argv[1], "-c")) {
  16.     pmain (argc - 1, &(argv[1]));
  17.     exit(0);
  18.     }
  19.  
  20.     [Application new];
  21.     if ([NXApp loadNibSection:"Gnuplot.nib" owner:NXApp withNames:NO])
  22.         [NXApp run];
  23.         
  24.     [NXApp free];
  25.     exit(0);
  26. }
  27.